import config from './config.js'

/* 设置 Token */
export const setToken = (token) => {
  uni.setStorageSync(config.toKenKey, token)
}

/* 获取 Token */
export const getToken = () => {
  return uni.getStorageSync(config.toKenKey)
}

/* 删除 Token */
export const removeToken = () => {
  uni.removeStorageSync(config.toKenKey)
}
